//---------------------------------------------------------------------------

#ifndef f_PrincipalH
#define f_PrincipalH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <vcl.h>
#include "f_Splash.h"
#include "f_Sobre.h"
#include "classeControle.h"
//---------------------------------------------------------------------------
class TfrmPrincipal : public TForm
{
__published:	// IDE-managed Components
	TRadioGroup *rdgEstruturasProjeto;
	TStatusBar *stbProjeto;
	TPanel *pnlCanvas;
	TImage *imgCanvas;
	TPanel *pnlMinicanvas;
	TImage *imgMiniCanvas;
	TRadioGroup *rdgAcoes;
	TMainMenu *MainMenu1;
	TMenuItem *Sair1;
	TMenuItem *Sobre1;
	TPanel *Panel1;
	void __fastcall imgCanvasMouseMove(TObject *Sender, TShiftState Shift, int X, int Y);
	void __fastcall Sair1Click(TObject *Sender);
	void __fastcall Sobre1Click(TObject *Sender);
	void __fastcall imgCanvasMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
	void __fastcall FormPaint(TObject *Sender);
	void __fastcall imgCanvasDblClick(TObject *Sender);
	void __fastcall imgCanvasClick(TObject *Sender);
	void __fastcall imgCanvasMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
	void __fastcall FormResize(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
private:	// User declarations
	controle * ptrControle;
	int intMouseX, intMouseY;
	bool boolMovendo;
public:		// User declarations
	__fastcall TfrmPrincipal(TComponent* Owner);
	void __fastcall refazDesenho();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPrincipal *frmPrincipal;
//---------------------------------------------------------------------------

#endif
